package com.leancloud.circle.api;

import tech.com.commoncore.constant.ApiConstant;

/**
 * Author:Cpb
 * Time  : 2019-06-24
 * Desc  : 圈子接口
 */
public class CircleApiConstant extends ApiConstant {

    public static final int TOPIC_ID = 154;//话题分类id


//    public static final String C_URL = "https://d.wanjinig.cn/";
//    public static final String C_URL = "http://data.yingju8.com/";

    public static final String CIRCLE_LIST = "yapi/Circle/index";
    //添加文章
    public static final String ADD_CIRCLE = "api/user/Circle/add_circle";
    //添加评论
    public static final String ADD_COMMENT = "api/user/Circle/add_comment";
    //文章点赞
    public static final String ADD_CIRCLE_LIKE = "api/user/Circle/circle_like";
    //评论列表
    public static final String COMMENT_LIST = "yapi/Circle/comment_list";
    //文章详情
    public static final String CIRCLE_DETAIL = "yapi/Circle/view";
    //举报
    public static final String REPORT = "api/user/Circle/report";

    //头像根目录
    public static final String HEAD_URL = ApiConstant.BASE_URL + "/upload/";

    //上传图片
    public static final String UPLOAD_IMG = "api/user/upload/one";

    public static final String ADD_LIKE_URL = "new_api/Circle/setZans";

    public static final String REMOVE_LIKE_URL = "new_api/Circle/setZans";

}
